package com.media.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.media.model.Comment;
import com.media.model.dto.CommentDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Lenovo
 * @Description: TODO
 * @DateTime: 2023/9/14 15:11
 **/
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    List<CommentDto>listCommentByMediaId(@Param("mediaId")String mediaId);

}
